package com.shop.cereshop.admin.dao.activity;

import com.shop.cereshop.commons.domain.activity.CerePlatformActivityDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CerePlatformActivityDetailDAO {
    int insert(CerePlatformActivityDetail record);

    int insertSelective(CerePlatformActivityDetail record);

    void deleteByActivityId(@Param("activityId") Long activityId);

    List<CerePlatformActivityDetail> findByActivityId(@Param("activityId") Long activityId);
}